<!DOCTYPE html>
<html lang="en">
<head>
    <title>{$post_title} {$site_name} </title>
    <meta name="keywords" content="{$post_keywords}" />
    <meta name="description" content="{$post_excerpt}">
    <tc_include file="Public:head" />
    <!--common-->
    <link rel="stylesheet" href="__TMPL__Public/css/common.css">
    <link href="__PUBLIC__/TciocEx/css/style-responsive.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="__PUBLIC__/TciocEx/js/html5shiv.js"></script>
    <script src="__PUBLIC__/TciocEx/js/respond.min.js"></script>
    <![endif]-->
    <!-- Placed js at the end of the document so the pages load faster -->
    <script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
    <script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
    <!-- 必须引入的文件 -->
    <link rel="stylesheet" href="__PUBLIC__/js/nprogress/nprogress.css">
    <script src="__PUBLIC__/js/jquery.pjax/jquery.pjax.js"></script>
    <script src="__PUBLIC__/js/nprogress/nprogress.js"></script>
    <style>
        .nav_banner{
            width: 100%;
            height: 58px;
            background:#f6f6f6;
            display: flex;flex-direction:column;justify-content: center;
            align-items: flex-end;
        }
        .nav_banner span{margin: 0;font-size: 14px;}
        .nav_banner a{text-decoration: none;color: #000;}
        .news_content{
            padding: 40px 0 100px 0;
            overflow: hidden;
        }
        .news_content .title{ text-align: center;margin: 20px 0}
        .news_content .title .p1{font-size: 24px;color: #000;line-height: 38px;}
        .news_content .title .p2{font-size: 16px;color: #999999;line-height: 20px;}
        .news_content .article{  }
        .news_content .article img{ width: 80%;margin: 20px 10%;}
    </style>
</head>
<body>
<tc_include file="Public:nav" />
<php>
    $term_id=$_GET['cid'];
    $term=sp_get_term($term_id );//获取当前子分类信息
    $path=preg_split("/-|and/", $term['path']);
    $one_term=sp_get_term($path[1] );
</php>
    <div class="nav_banner">
        <div style="min-width: 1200px;width: 60%;margin: 0 auto;">
            <span class="fr">您的位置：
                <a href="/"> 首页</a>
                > <a href="{:leuu('list/index',array('id'=>$path[1]))}">{$one_term['name']}</a>
                > <a href="{:leuu('list/index',array('id'=>$term_id))}">{$term['name']}</a>
                > <a >{$post_title}</a>
            </span>
        </div>

    </div>
    <div class="news_content" style="min-width: 1200px;width: 60%;margin: 0 auto;">
        <div class="title">
            <p class="p1">{$post_title}</p>
            <p class="p2">发布日期：<php>echo date('Y-m-d ',strtotime($post_date));</php>   </p>
        </div>
        <div class="article">
            {$post_content}
        </div>
    </div>
<tc_include file="Public:footer" />

</body>
</html>